package com.etooling.pdm.service;

import com.etooling.framework.entity.ImportDataBatch;
import com.etooling.framework.svo.ReplyObj;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface BomService {

    ReplyObj addBom(HttpServletRequest request, String json);

    ReplyObj updateBom(HttpServletRequest request, String json);


    ReplyObj delBom(HttpServletRequest request, String bomId);


    void uploadBomExcel(ImportDataBatch importDataBatch, String loginId, String companyId, String bomName, String bomMemo);


    ReplyObj updateBomDetails(HttpServletRequest request, String materialGoodsSpecsId, String recordDetailId);

    ReplyObj enableBom(HttpServletRequest request, String specsId, String bomId);


    ReplyObj addBomDetail(HttpServletRequest request, String parentBomDetailId, List<String> goodsSpecsIds);
}
